<?php

/**
 * function userfunc_bookmark_links() - outputs an HTML list of bookmarking links
 * NOTE: only works when called from inside the WordPress loop!
 *
 * @global object $post
*/

function userfunc_bookmark_links() {
	global $post;
?>
<p class="bookmark"><a class="delicious" rel="nofollow" target="_blank" href="http://del.icio.us/post?url=<?php the_permalink() ?>&amp;title=<?php urlencode(the_title()) ?>-天真(gexiaofei.com)" title="Bookmark on del.icio.us">del.icio.us</a>&nbsp;&nbsp;
<a class="google" rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&bkmk=<?php the_permalink() ?>&title=<?php urlencode(the_title()) ?>-天真(gexiaofei.com)">Google书签</a>&nbsp;&nbsp;
<a class="yahooweb" rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=<?php the_permalink() ?>">Yahoo!</a>&nbsp;&nbsp;
<a class="baiducang" rel="nofollow" target="_blank" href="http://cang.baidu.com/do/add?it=<?php urlencode(the_title()) ?>-天真(gexiaofei.com)&iu=<?php the_permalink() ?>&fr=ien#nw=1">百度收藏</a>
&nbsp;&nbsp;<a class="qq" target="_blank" rel="nofollow" href="http://shuqian.qq.com/post?from=3&title=<?php urlencode(the_title()) ?>-天真(gexiaofei.com)&uri=<?php the_permalink() ?>&jumpback=2&noui=1">QQ书签</a>
</p>
<?php
}